﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
using PiCalcComm;

namespace server
{
    class Program
    {
        static void Main(string[] args)
        {
            Socket Listner = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
            Listner.Bind(new IPEndPoint(IPAddress.Any, 5353));
            Listner.Listen(100);
            while (true)
            {
                Socket Connection = Listner.Accept();
                Server ThisServer = new Server(Connection);
            }
        }

    }
}
